package com.eshop.modules.monitor.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface RedisService
{
    Page findByKey(final String key, final Pageable pageable);
    
    String getCodeVal(final String key);
    
    void saveCode(final String key, final Object val);
    
    void delete(final String key);
    
    void flushdb();
}
